module.exports = {
    devServer: {
        proxy: {
            '/api': {
                pathRewrite: {
                    '^/api':' '
                },
                target : 'http://localhost:3300',
                changeOrigin: true,
            },
            '/douban': {
                pathRewrite: {
                    '^/douban':' '
                },
                target : 'https://www.douban.com',
                changeOrigin: true,
            }
        }
    }
}